package com.common.util;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class VerifyMail extends Authenticator{
    String username = "";
    String password = "";

    public VerifyMail(){ }

    public VerifyMail(String username,String password){
        this.username=username;
        this.password=password;
    }

    @Override
    protected PasswordAuthentication getPasswordAuthentication(){
        return new PasswordAuthentication(username,password);
    }
}
